CancellableGenericTinyMessage

StockSharp.Xaml.Charting.Common.Messaging

基本“ 可取消” 通用消息

继承自: TinyMessageBase

构造函数

CancellableGenericTinyMessage
public CancellableGenericTinyMessage(object sender, TContent content, Action cancelAction)
cancellableGenericTinyMessage = CancellableGenericTinyMessage(sender, content, cancelAction)

创建 & > CancellableGenericTinyMessage > 类的新实例 。

sender
信件发送器( 通常是" This" )
content
电文内容
cancelAction
要求取消的行动

属性

Cancel
public Action Cancel { get; protected set; }
value = cancellableGenericTinyMessage.Cancel
cancellableGenericTinyMessage.Cancel = value

取消动作

Content
public TContent Content { get; protected set; }
value = cancellableGenericTinyMessage.Content
cancellableGenericTinyMessage.Content = value

电文内容